import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/msg_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/msg_entity.g.dart';

@JsonSerializable()
class MsgEntity {
	int? total;
	List<MsgRows>? rows;
	int? code;
	String? msg;

	MsgEntity();

	factory MsgEntity.fromJson(Map<String, dynamic> json) => $MsgEntityFromJson(json);

	Map<String, dynamic> toJson() => $MsgEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MsgRows {
	String? createTime;
	MsgRowsParams? params;
	int? id;
	int? userId;
	int? msgType;
	String? msgTitle;
	String? msgContent;
	int? realStatus;
	String? assetsId1;

	MsgRows();

	factory MsgRows.fromJson(Map<String, dynamic> json) => $MsgRowsFromJson(json);

	Map<String, dynamic> toJson() => $MsgRowsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MsgRowsParams {


	MsgRowsParams();

	factory MsgRowsParams.fromJson(Map<String, dynamic> json) => $MsgRowsParamsFromJson(json);

	Map<String, dynamic> toJson() => $MsgRowsParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}